const Mock = require('mockjs')
const aaa = ['上班','摸鱼','打游戏','点瞌睡','划水','游泳','健身']
const { list } = Mock.mock({
    'list|80': [{
        'key':'@id',
        'id': '@id',
        'name': '@cname(2,3)',
        'age|1-99': 1,
        'tel': /^1[3-9]\d{9}$/,
        'interest|2-4':[{
            'int|+1':aaa
        }],
        'address': '@city()',
        'state|1': [true,false],
        'time': "@DATETIME('yyyy-MM-dd')"
    }]
})

module.exports = list